package org.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.common.model.order.StoreOrderStatus;

import java.math.BigDecimal;

public interface StoreOrderStatusService extends IService<StoreOrderStatus> {
    /**
     * 添加订单日志(旅游)
     * @param orderId 订单id
     * @param type 类型
     * @param message 备注
     * @return Boolean
     */
    Boolean createTravelLog(Long orderId, String type, String message);

    /**
     * 保存订单退款记录
     * @param orderId 订单id
     * @param amount 金额
     * @param message 备注
     * @return Boolean
     */
    Boolean saveRefund(Long orderId, BigDecimal amount, String message);
}
